//
//  AddressManagementViewController.h
//  Yanwei
//
//  Created by 刘文 on 17/5/4.
//  Copyright © 2017年 DCloud. All rights reserved.
//

#import "DeepestViewController.h"

@class StoreAddressModel;

typedef NS_ENUM(NSInteger, AddressManagementType) {
    AddressManagementTypeNormal = 0,//默认类型 也就是我的地址中展现的
    AddressManagementTypeSelect = 1,//选择地址
};

typedef void(^CallbackAddress)(StoreAddressModel *);

@interface AddressManagementViewController : DeepestViewController


/**
 创建该控制器时使用该方法  并确定类型
 */
- (instancetype)initWithAddressManagementType:(AddressManagementType)addressManagementType;
@property (copy, nonatomic) CallbackAddress callbackAddress;

@end
